|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectraar.agent.process.RAProcess
raar.agent.process.actor.RAActor
raar.agent.process.actor.RASpeedActor
public class RASpeedActor
This Actor models the speed of the agent, which is a real between 0 and 1 (inclusive).
In this version, the Java null is supported as input. It will result in a zero value (since zero means no action).
| Field Summary |
|---|
| Fields inherited from class raar.agent.process.RAProcess |
|---|
hasRun, inregister, outregister, register, sourceCode, statement |
| Constructor Summary | |
|---|---|
RASpeedActor()
Construct an RAActor with given input name. |
|
| Method Summary | |
|---|---|
java.lang.String |
getDescription()
Describe the actor. |
boolean |
isInputValid(RADataType d)
Determine whether input is valid. |
| Methods inherited from class raar.agent.process.actor.RAActor |
|---|
acceptsInput, dumpRegisters, execute, get, getActorValue, getDataType, getInputNames, getInputObjects, getOutputNames, getOutputObjects, run, set, setSourceCode |
| Methods inherited from class raar.agent.process.RAProcess |
|---|
clone, getProcessName, getSourceCode, isSpecial, reset, setProcessName, suppliesOutput |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RASpeedActor()
| Method Detail |
|---|
public boolean isInputValid(RADataType d)
isInputValid in class RAActorpublic java.lang.String getDescription()
getDescription in class RAActor
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||